GtkScrolledWindow: Avoid a test failure
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 May 2014 10:00:09 +0000 (06:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 22 May 2014 10:00:09 +0000 (06:00 -0400)
commitd01a291dbc051e8a92fadcf60e9a16423aea029a
treef1a118f0248cb3005e3c9d0b1e4c7aeb0a893d9c
parenta61a11a4ea2fca0ce325be269550943e461712a0
GtkScrolledWindow: Avoid a test failure

The change to take out unneeded NULL checks requires some care
at startup: we check both adjustments when any of them changes;
we need to do those checks in the same order in which we create
the scrollbars, otherwise we'll try to get the adjustment of
the vscrollbar when we just set the up the hscrollbars' adjustment.
gtk/gtkscrolledwindow.c